联系j9九游会真人游戏第一品牌-j9九游会老哥论坛

 
 
 
response.json())\r\n .then(data => {\r\n //console.log(\"json response\",data); \r\n ppesfcountrymap = data\r\n });\r\n\r\n /*window.elqlookupcallback = function() {\r\n console.log(\">>>>>> inside eloqua lookup callback\")\r\n var url = new ; \r\n var dfpparam = url.searchparams.get(\"dfp\");\r\n console.log(\"dss\",dfpparam);\r\n let bsegoptions = businesssegdd.find('option:not(:first)');\r\n let bsegments = [];\r\n if(dfpparam){\r\n switch(dfpparam) {\r\n case \"kevlar-contact\":\r\n bsegments= [\"safety - aerospace\", \"safety - automotive\", \"safety - defense\"]; \r\n break;\r\n case \"nomex-contact\":\r\n bsegments= [\"safety - electrical infrastructure\"]; \r\n break;\r\n case \"tyvek-contact\":\r\n bsegments= [\"safety - commodity\", \"safety - consumer & industrial\", \"safety - healthcare\"]; \r\n break; \r\n } \r\n\r\n }else{\r\n bsegments = [\"safety - typar®\"];\r\n\r\n }\r\n for(let option of bsegoptions){\r\n if(bsegments.indexof($(option).attr('value')) < 0){\r\n $(option).prop('disabled',true).hide();\r\n }else{\r\n $(option).removeattr('disabled').show();\r\n }\r\n }\r\n\r\n\r\n }*/\r\n\r\n smartformel.prepend(`\r\n \r\n \r\n \r\n `);\r\n smartformel.on('submit', function(){\r\n addppehiddenfields();\r\n if (businesssegdd.val() == \"safety - defense\") $(\".defense-hidden\").removeattr(\"disabled\");\r\n else $(\".defense-hidden\").attr(\"disabled\", true);\r\n switch (new urlsearchparams(location.search).get(\"dfp\")) {\r\n case \"nomex-contact\":\r\n $(\"[name='originname']\").val(\"na_nomex_ta_en_fm_nomexcontactus_201806\");\r\n break;\r\n case \"kevlar-contact\":\r\n $(\"[name='originname']\").val(\"na_dpt_contactus-kevlar_en_fm_form_201806\");\r\n }\r\n/*added below code to change state field name from productuselocationstate1 to productuselocationstate*/\r\n if($('[name=\"productuselocationcountry\"]').val()===\"india\"){\r\n $(\"[data-dd-name='usstatedd']\").find('select').remove(); \r\n $($(\"[data-dd-name='indianstatedd']\").find('select')).attr('name','productuselocationstate'); \r\n }else if($('[name=\"productuselocationcountry\"]').val()===\"united states\"){\r\n $(\"[data-dd-name='indianstatedd']\").find('select').remove();\r\n \r\n }\r\n \r\n return true;\r\n });\r\n\r\n function addppehiddenfields(){\r\n console.log(\">>>>inside form submit custom code\")\r\n let country = countryddel.val();\r\n if(country && (country !== \"not provided\")){\r\n let countrymap = ppesfcountrymap;\r\n let region = countrymap[country]['region'];\r\n let queue = countrymap[country]['queue'];\r\n console.log(\"region\",region)\r\n console.log(\"queue\",queue)\r\n if(!smartformel.find(\"[name='georegion']\").length){\r\n smartformel.append(\"\");\r\n }else{\r\n smartformel.find(\"[name='georegion']\").val(region);\r\n }\r\n if(!smartformel.find(\"[name='leadqueuemktg']\").length){\r\n smartformel.append(\"\");\r\n }else{\r\n smartformel.find(\"[name='leadqueuemktg']\").val(queue);\r\n }\r\n\r\n \r\n\r\n if (region == \"emea\"){\r\n \r\n $('[name=\"recordtype\"]').val(\"012300000001xlz\");\r\n }\r\n else if (region == \"asia pacific\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n else if (region == \"latin america\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n else{\r\n \r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n if (region == \"asia pacific\" && country == \"india\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n if (region == \"asia pacific\" && country == \"china\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n }\r\n\r\n } \r\n\r\n\r\n \r\n})","jscodeid":"safety-main-form"},{"jscode":"$(function() {\r\n console.log(\"inside custom js code\")\r\n //let subjectddel = $(\"[name='subjectinquiry']\");\r\n let countryddel = $(\"[name='country']\");\r\n let smartformel = $(\"#smart-form-container form\");\r\n let businesssegdd = $(\"[name='businesssegment']\");\r\n let ppesfcountrymap = {};\r\n let indianstatedd = $(\"[name='productuselocationstate1']\");\r\n let usstatedd = $(\"[name='productuselocationstate']\");\r\n\r\n if(indianstatedd.length){\r\n indianstatedd.parent().attr('data-dd-name','indianstatedd');\r\n }\r\n if(usstatedd.length){\r\n usstatedd.parent().attr('data-dd-name','usstatedd');\r\n }\r\n \r\n fetch('/content/dam/dupont/amer/us/en/personal-protection/public/jsons/ppe-country-region-queue.json')\r\n .then(response => response.json())\r\n .then(data => {\r\n //console.log(\"json response\",data); \r\n ppesfcountrymap = data\r\n });\r\n\r\n /*window.elqlookupcallback = function() {\r\n console.log(\">>>>>> inside eloqua lookup callback\")\r\n var url = new ; \r\n var dfpparam = url.searchparams.get(\"dfp\");\r\n console.log(\"dss\",dfpparam);\r\n let bsegoptions = businesssegdd.find('option:not(:first)');\r\n let bsegments = [];\r\n if(dfpparam){\r\n switch(dfpparam) {\r\n case \"kevlar-contact\":\r\n bsegments= [\"safety - aerospace\", \"safety - automotive\", \"safety - defense\"]; \r\n break;\r\n case \"nomex-contact\":\r\n bsegments= [\"safety - electrical infrastructure\"]; \r\n break;\r\n case \"tyvek-contact\":\r\n bsegments= [\"safety - commodity\", \"safety - consumer & industrial\", \"safety - healthcare\"]; \r\n break; \r\n } \r\n\r\n }else{\r\n bsegments = [\"safety - typar®\"];\r\n\r\n }\r\n for(let option of bsegoptions){\r\n if(bsegments.indexof($(option).attr('value')) < 0){\r\n $(option).prop('disabled',true).hide();\r\n }else{\r\n $(option).removeattr('disabled').show();\r\n }\r\n }\r\n\r\n\r\n }*/\r\n\r\n smartformel.prepend(`\r\n \r\n \r\n \r\n `);\r\n smartformel.on('submit', function(){\r\n addppehiddenfields();\r\n if (businesssegdd.val() == \"safety - defense\") $(\".defense-hidden\").removeattr(\"disabled\");\r\n else $(\".defense-hidden\").attr(\"disabled\", true);\r\n switch (new urlsearchparams(location.search).get(\"dfp\")) {\r\n case \"nomex-contact\":\r\n $(\"[name='originname']\").val(\"na_nomex_ta_en_fm_nomexcontactus_201806\");\r\n break;\r\n case \"kevlar-contact\":\r\n $(\"[name='originname']\").val(\"na_dpt_contactus-kevlar_en_fm_form_201806\");\r\n }\r\n/*added below code to change state field name from productuselocationstate1 to productuselocationstate*/\r\n if($('[name=\"productuselocationcountry\"]').val()===\"india\"){\r\n $(\"[data-dd-name='usstatedd']\").find('select').remove(); \r\n $($(\"[data-dd-name='indianstatedd']\").find('select')).attr('name','productuselocationstate'); \r\n }else if($('[name=\"productuselocationcountry\"]').val()===\"united states\"){\r\n $(\"[data-dd-name='indianstatedd']\").find('select').remove();\r\n \r\n }\r\n \r\n return true;\r\n });\r\n\r\n function addppehiddenfields(){\r\n console.log(\">>>>inside form submit custom code\")\r\n let country = countryddel.val();\r\n if(country && (country !== \"not provided\")){\r\n let countrymap = ppesfcountrymap;\r\n let region = countrymap[country]['region'];\r\n let queue = countrymap[country]['queue'];\r\n console.log(\"region\",region)\r\n console.log(\"queue\",queue)\r\n if(!smartformel.find(\"[name='georegion']\").length){\r\n smartformel.append(\"\");\r\n }else{\r\n smartformel.find(\"[name='georegion']\").val(region);\r\n }\r\n if(!smartformel.find(\"[name='leadqueuemktg']\").length){\r\n smartformel.append(\"\");\r\n }else{\r\n smartformel.find(\"[name='leadqueuemktg']\").val(queue);\r\n }\r\n\r\n \r\n\r\n if (region == \"emea\"){\r\n \r\n $('[name=\"recordtype\"]').val(\"012300000001xlz\");\r\n }\r\n else if (region == \"asia pacific\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n else if (region == \"latin america\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n else{\r\n \r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n if (region == \"asia pacific\" && country == \"india\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n if (region == \"asia pacific\" && country == \"china\"){\r\n \r\n \r\n $('[name=\"recordtype\"]').val(\"01241000001aekk\");\r\n }\r\n \r\n }\r\n\r\n } \r\n\r\n\r\n \r\n})\r\n$(\".heroimage\" ).show();","jscodeid":"get-your-item"}],"hiddenfields":[{"id":"global","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"na_safety_gb_en_fm_contactus_202106","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchantype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"life-protection","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"leadrecordtype"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchanneltype"},{"localstorage":"","hiddenvalue":"globalsafetydefenseenfm","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"preferredlanguage"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"typar","fields":[{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype "},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"dupont protection solutions","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"www.dupont.com/typar_uk","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchanneltype"},{"localstorage":"","hiddenvalue":"other","hiddenname":"engagementsubtype"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"plantex","fields":[{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype "},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"dupont protection solutions","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"www.dupont.com/plantex_uk","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchanneltype"},{"localstorage":"","hiddenvalue":"other","hiddenname":"engagementsubtype"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"get-your-item-hiddenid","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"ap_gpp_tyvek_cn_fm_tyvekdesign-getyouritemfeatured","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchantype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"tyvek-graphics-swatchbookid","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"na_gpp_swatchbook_en_fm_orderform_201608","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchantype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"tyvek-graphics-formid","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"na_gr_tyvek_en_fm_graphics-download-form_201812","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchantype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]},{"id":"tyvekdesignbookdownload-hiddenid","fields":[{"localstorage":"","hiddenvalue":"smart-form","hiddenname":"elqformname"},{"localstorage":"","hiddenvalue":"911788392","hiddenname":"elqsiteid"},{"localstorage":"","hiddenvalue":"marketing automation","hiddenname":"contacttype"},{"localstorage":"","hiddenvalue":"tyvekdesignbookdownload-onlyinquiry_201905-en","hiddenname":"originname"},{"localstorage":"","hiddenvalue":"website","hiddenname":"originchantype"},{"localstorage":"","hiddenvalue":"inbound","hiddenname":"direction"},{"localstorage":"","hiddenvalue":"safety","hiddenname":"owningorganization"},{"localstorage":"","hiddenvalue":"protection technologies","hiddenname":"owningsbu"},{"localstorage":"","hiddenvalue":"chinese","hiddenname":"language"},{"localstorage":"","hiddenvalue":"capture","hiddenname":"leadstatus"},{"localstorage":"","hiddenvalue":"0123f000000gqvu","hiddenname":"recordtype"},{"localstorage":"","hiddenvalue":"inquiry","hiddenname":"engagementtype"},{"localstorage":"","hiddenvalue":"dcc safety","hiddenname":"engagementqueue"},{"localstorage":"","hiddenvalue":"website","hiddenname":"engagementsource"},{"localstorage":"","hiddenvalue":"1001","hiddenname":"formid"}]}],"generalfields":{"recaptchakey":"6lcztwmuaaaaap9eugkwa14hbkwkso7fx1ydy6ej","webvisitorid":"webvisitorid","recaptchaerrormessage":"必填项目","defaultdropdownvalue":"请选择","eloquasiteid":"911788392","isrecaptcharequired":"true","eloquadatalookupid":"ps","genericerrormessage":"一个或多个字段出错。请检查并重新提交。","actionurl":"/dupont/submitform?orgid=ws","disclaimertext":"

杜邦关心您的隐私。您的个人信息(姓名,电子邮件,电话号码等)将存储在主要位于美国的选定客户系统中。杜邦,其附属公司,j9九游会老哥论坛的合作伙伴和服务提供商将使用此信息,详细信息请访问我们的隐私声明,网址为

 
 
 

网站地图